#include "ui/mainwindow.h"
#include "engines/gstengine.h"
#include "ui/iconloader.h"

#include <QApplication>
#include <QTranslator>
#include <QDebug>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);


    QTranslator * translator = new QTranslator;
    bool loaded = translator->load(":/resources/zh_CN.qm");
    if(!loaded){
        qDebug()<<"load  Chinese file error";
    }
    a.installTranslator(translator);

    IconLoader::Init();


    MainWindow w;
    w.show();
    return a.exec();
}
